list(APPEND sources
  approx_diag_mohess_oo.cc
  approx_diag_mohess_vo.cc
  back_trans.cc
  cc_energy.cc
  ccd_3index_intr.cc
  ccd_3index_intr_low.cc
  ccd_F_intr.cc
  ccd_F_intr_low.cc
  ccd_W_intr.cc
  ccd_W_intr_low.cc
  ccd_iterations.cc
  ccd_iterations_low.cc
  ccd_opdm.cc
  ccd_pdm_3index_intr.cc
  ccd_t2_amps.cc
  ccd_t2_amps_low.cc
  ccd_tpdm.cc
  ccdl_3index_intr.cc
  ccdl_W_intr.cc
  ccdl_iterations.cc
  ccdl_l2_amps.cc
  ccl_energy.cc
  ccsd_3index_intr.cc
  ccsd_3index_intr_low.cc
  ccsd_F_intr.cc
  ccsd_F_intr_low.cc
  ccsd_W_intr.cc
  ccsd_W_intr_low.cc
  ccsd_iterations.cc
  ccsd_iterations_low.cc
  ccsd_opdm.cc
  ccsd_pdm_3index_intr.cc
  ccsd_t1_amps.cc
  ccsd_t1_amps_low.cc
  ccsd_t2_amps.cc
  ccsd_t2_amps_low.cc
  ccsd_tpdm.cc
  ccsd_triples.cc
  ccsdl_3index_intr.cc
  ccsdl_W_intr.cc
  ccsdl_iterations.cc
  ccsdl_l1_amps.cc
  ccsdl_l2_amps.cc
  cd_ints.cc
  conv_mo_tei.cc
  conv_mo_tei_direct.cc
  conv_mo_tei_ref_direct.cc
  df_corr.cc
  df_ref.cc
  dfgrad.cc
  dfocc.cc
  diagonal_mohess_oo.cc
  diagonal_mohess_vo.cc
  diis.cc
  effective_mograd.cc
  ekt.cc
  fock.cc
  fock_so.cc
  get_moinfo.cc
  gfock_oo.cc
  gfock_ov.cc
  gfock_vo.cc
  gfock_vv.cc
  gftilde_vv.cc
  idp.cc
  kappa_diag_hess.cc
  kappa_orb_resp.cc
  kappa_orb_resp_pcg.cc
  lccd_W_intr.cc
  lccd_iterations.cc
  lccd_pdm_3index_intr.cc
  lccd_t2_amps.cc
  main.cc
  manager.cc
  manager_cd.cc
  mograd.cc
  mp2_direct.cc
  mp3_W_intr.cc
  mp3_pdm_3index_intr.cc
  occ_iterations.cc
  olccd_tpdm.cc
  oremp_tpdm.cc
  omp2_opdm.cc
  omp2_tpdm.cc
  omp3_opdm.cc
  omp3_tpdm.cc
  pair_index.cc
  prepare4grad.cc
  properties.cc
  qchf.cc
  remp_iterations.cc
  remp_t2_amps.cc
  s2_response.cc
  semi_canonic.cc
  separable_tpdm.cc
  t1_1st_sc.cc
  t2_1st_gen.cc
  t2_1st_sc.cc
  t2_2nd_gen.cc
  t2_2nd_sc.cc
  t2_mp2_direct.cc
  tensors.cc
  tpdm_tilde.cc
  update_hfmo.cc
  update_mo.cc
  z_vector.cc
  z_vector_pcg.cc
  uccsd_W_intr.cc
  uccsd_t2_amps.cc
  uccsd_energy.cc
  uccsdl_W_intr.cc
  uccsdl_l2_amps.cc
  uccsdl_energy.cc
  uccsd_tpdm.cc
  uccsd_pdm_3index_intr.cc
  uccsd_triples_hm.cc
  uccsdl_triples_hm.cc
  uccsd_triples_grad_hm.cc
  )
psi4_add_module(bin dfocc sources)

target_link_libraries(dfocc PUBLIC diis)
